package org.example.controller;

import org.example.service.UserServiceImpl;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class UserController {

    @Resource
    private UserServiceImpl userService;

    @RequestMapping(value = "/openUserSwitch")
    public void userSwitch() {
        userService.openUserSwitch();
    }

}
